package cn.edu.sjtu.se.dslab.service;

import java.util.List;

import cn.edu.sjtu.se.dslab.project.EntityZoneCategory;

public interface IEntityZoneCategoryService {
	
	public EntityZoneCategory getEntityZoneCategoryById(long id);

	public EntityZoneCategory getEntityZoneCategoryByName(String name);
	
	public List<EntityZoneCategory> getEntityZoneCategoryList();
	
	public boolean addEntityZoneCategory(EntityZoneCategory entityZoneCategory, long projectId);

	public EntityZoneCategory updateEntityZoneCategory(EntityZoneCategory entityZoneCategory);
	
	public boolean deleteEntityZoneCategoryById(long entityZoneCategoryId);
	
	public List<EntityZoneCategory> getEntityZoneCategoryByProject(long projectId);

	public EntityZoneCategory getEntityZoneCategoryByProjectAndName(long projectId, String name);

}
